<?php
session_start();
error_reporting(0);
if($_SESSION['username']!="")
{
?>
<!DOCTYPE html>
<html lang="en">
  <head>
     <? include "./include/head.php"; ?>
	  <? include "./include/js.php"; ?>
  </head>
  <body>
  <? include "./include/body.php"; ?>
		<?php
include "./config/connection.php";
 error_reporting(0);
  $id_ekspedisi = $_POST['id_ekspedisi'];
   $propinsi = $_POST['propinsi'];
   $kota = $_POST['kota'];
   $harga= $_POST['harga'];
	$eksekusi = "UPDATE ekspedisi SET propinsi = '$propinsi',
                                    kota = '$kota', harga = '$harga' WHERE id_ekspedisi = '$id_ekspedisi'";
$in = mysql_query($eksekusi);
if(isset($in))
	{
	echo"<script>alert('Data Berhasil Diubah ')</script>";
        echo"<script>history.go(-2);</script>";
	}
	else
	{
		header ("location:delivery_expense_edit.php?page=input&input=invalid");
	}
}

?>
<? include "./include/menubawah.php"; ?>
    <?php
    ?>
  </body>
</html>
<?php
    

    include 'warning.php';

?>